import request from '@/utils/request'
// 登录接口
export const list = () => {
        return request({
            method: 'GET',
            url: '/subjects/simple',
        })
    }
    // 二级目录
export const getMuLu = params => {
    return request({
        method: 'GET',
        url: '/directorys',
        params
    })
}

// 三级权限
export const getBiaoQian = params => {
    return request({
        method: 'GET',
        url: '/tags',
        params
    })
}

// 录入人
export const getYongHu = params => {
    return request({
        method: 'GET',
        url: '/users/simple',
        params
    })
}

// 题库列表
export const getTiku = params => {
    return request({
        method: 'GET',
        url: '/questions',
        params
    })
}

export const getTikus = (params) => {
    return request({
        method: 'GET',
        url: `/questions/${params}`,
    })
}